const getters = {
    token: state => state.user.token,
    id: state => state.user.id,
    nickname: state => state.user.nickname,
    name: state => state.user.name,
    type: state => state.user.type,
    menu: state => state.user.menu,
    sidebar: state => state.app.sidebar,
    device: state => state.app.device,
    roleId: state => state.user.roleId
}
export default getters
